/ Assembly List / LJCDataAccessConfig / DataConfig / GetConnectionString

Namespace - LJCDataAccessConfig


Parameters
connectionTypeName - The ConnectionType name.

Returns

The connection string.

Syntax

C#
public String GetConnectionString(String connectionTypeName)

Creates the populated connection string from the ConnectionType name.

Example

C#
// See the DataConfig setup code on the DataConfig class page.

// Creates the populated connection string from the ConnectionType name.
private static void GetConnectionString2(string connTypeName)
{
  var connString = dataConfig.GetConnectionString(connTypeName);
}

Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.